Questions tagged as 'angularjs'

1
answer

Otherwise with redirectTo to another url that is not part of the Single page application

For example, on the routes below: app.config(function($routeProvider){ $routeProvider.when('/dashboard', { templateUrl: "../views/dashboard.html", controller : "dashboardCtrl" }).when('/cadastro', { templateUrl:...
asked by 28.07.2016 / 01:32
1
answer

Application based on multiple authorization profiles [closed]

I have a handful of doubts in an interesting scenario, I hope you can give me a little help. I'm using the ng-token-auth package for authentication, for permissions control the package angular-permission , my Rails backend is configured wi...
asked by 14.10.2016 / 13:44
2
answers

Hide element with angularjs

Hello. I have a routine that checks the elements of a form-group and adds the has-error class in form-validate. See below var allElements = element.find("input"); for(var i = 0; i < allElements.length; i++) { var field = angular.element(...
asked by 20.07.2016 / 20:57
1
answer

Change dynamic class in mdDialog.show

I need to change the class of the OK button, by default it is dynamic and has been set to 'md-primary'. $mdDialog.show( $mdDialog.alert() .parent(angular.element(document.querySelector('#popupContainer'))) .ti...
asked by 22.11.2016 / 12:47
2
answers

Automatically log in to hybrid applications?

I made a login system that searches for user in bd, I am new to mobile development, and wanted a light (idea) on how to login automatically after first access. Same in whatsapp or face that you enter your login data once and then it logs in alon...
asked by 21.11.2016 / 16:38
2
answers

Loader in page with angle

I need an angled loader for the whole page including the html, not just the ajax requests. Any suggestions? Example in the link below, make the preloader and load the content. link     
asked by 21.11.2016 / 13:26
2
answers

Injection error of module dependencies in angular

I have the module for my application: angular.module('app', ['app.controllers','app.routes','app.services']); I have my services module: angular.app('app.services', []) .factory('usuarioService', ['$rootScope', 'renderService',...
asked by 26.04.2016 / 21:38
1
answer

AngularJS Argument 'controller' is not a function, got undefined

Good evening, guys! I am a beginner in Angularjs, I am having the following problem Error: [ng:areq] Argument 'smgoCtrl' is not a function, got undefined http://errors.angularjs.org/1.5.5/ng/areq?p0=smgoCtrl&p1=not%20a%20function%2C%20got%...
asked by 24.04.2016 / 02:46
1
answer

$ injector: modulerr

I get the following error: angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module contato due to: Error: [$injector:nomod] Module 'contato' is not available! You either misspelled the module name or forgot to load i...
asked by 24.04.2016 / 23:30
1
answer

What error is this net :: ERR_NAME_NOT_RESOLVED in php?

Hello, I am trying to pass parameters to a php file, email and password, for login use by following url: " link " and the following warning appears    net :: ERR_NAME_NOT_RESOLVED Would the parameters be in trouble? Well, when I run the u...
asked by 10.08.2016 / 14:24