Posts by R. Santos • 26 points
2 posts
-
1
votes1
answer529
viewsA: How to place a while inside an angular object?
Your error is in assigning each loop a new value to the title variable. var titulo = [{titulo}]; The only thing this code does is turn the variable into an item in a list, but that list is reset…
-
0
votes1
answer649
viewsA: Switch from view to controller (Ng-Click)
Since the controller is dropped when changing route, one way is to prepare your config router to receive the id parameter in the url itself. .when('/colaboradores/novocolaborador/:id', {…