Posts by Guilherme Meireles • 99 points
2 posts
- 
		-1 votes2 answers73 viewsA: How to use an angular service outside the angular structure?There’s a hack for that: angular.module('your-module').run(['$http',function($http){ window.$http = $http; }]; So Voce can use $http anywhere by calling window. $http as long as the call is made… angularjsanswered Guilherme Meireles 99
- 
		0 votes4 answers1532 viewsA: Angular 2 Binding in ComponentYou need to call the function trataDados() ngOnChange to update the field lista of the component MeuComponent when the input testes be updated.…