Posts by mBiz • 1 point
2 posts
-
0
votes1
answer597
viewsA: Problem CORS Angular + Protheus
Good afternoon. Place this line at the beginning of your REST/ADVPL service: ::SetHeader('Access-Control-Allow-Credentials' , "true") Abs.
-
0
votes1
answer146
viewsQ: Error injecting $state into controller
I have a problem injecting the $state in my controller. angular.module('myApp', ['ngMaterial']) .controller('LoginController', function($scope, $rootScope,$state){ $scope.userlogin = "";…