Posts by Thiago Robert • 66 points
2 posts
-
4
votes2
answers11462
viewsA: Pass an object as a parameter to another Component using Angular 2?
You can use the directive: routerLink="/resultado" [queryParams]="questoes" or via code: calcularResultado(){ this.router.navigate(['/resultado'], {queryParams: this.questoes}); } or…
angularanswered Thiago Robert 66 -
1
votes1
answer243
viewsA: How to insert and restate a list of items in the database
var app = angular.module('app', []); app.controller('controlador', function($scope, $http, $rootScope, itensService) { $rootScope.userLogado = {id: 666, nome:…