Questions tagged as 'angular-providers'

1
answer

How to pass parameters by providers AngularJS?

I have the default site routes in constant : app.constant('defaultRoutes', { home: { url: '/home', templateUrl: 'templates/home.html', controller: 'HomeController' }, [...demais rotas....] }); I am c...
asked by 16.04.2014 / 14:28
1
answer

Laravel - Validate field unique in update

I have an enrollment field in the table that needs to be unique NA MIGRATION Schema::create('professors', function (Blueprint $table) { $table->increments('id'); $table->boolean('inativo')->default(0); $tabl...
asked by 10.05.2018 / 16:17
1
answer

Unknown provider: ifFilterProvider - non-angular ifFilter

I have following in my app.js (function(){ 'use strict'; angular .module('app', ['ngResource','ngRoute']) .config(function ($routeProvider) { $routeProvider .otherwise({ redirectTo: '/' }); }) .c...
asked by 22.08.2014 / 00:26
1
answer

Ionic 2, Http request only works after second call

I created an application sidemenu and a provider ( conexao-home.ts ). On a test page I created the function buscarUsuarios (associated with a button ), which calls the function getRemoteUsers on provide...
asked by 09.05.2017 / 19:30
0
answers

Menu link not working with $ routeProvider

I'm having trouble working with the $ routeProvider of Angular.js , I have a link on a menu in which it will be mapped via route , and will later call an action in Spring , but it does not work. It always returns me 404 and I have alrea...
asked by 29.06.2015 / 16:55
1
answer

NullInjectorError Error: No provider for

I'm having this error message: ERROR Error: StaticInjectorError[CervejaService]: StaticInjectorError[CervejaService]: NullInjectorError: No provider for CervejaService! at _NullInjector.get (core.js:993) at resolveToken (core.j...
asked by 17.01.2018 / 12:00
1
answer

Routing with parameter "id" ends in white page

When I do routing with the id parameter ends in white page. link My app starts the posts appear, so I click on the post it goes to the other page and "it was to appear the content" but everything goes blank. var app = angular.module('app'...
asked by 06.11.2014 / 12:45
1
answer

Unknown provider: PermPermissionStoreProvider

After installing the package through the bower, it is not recognized in the project. Here is the code: install command: bower install angular-permission --save (already tried to install by npm also, but without success) code where I use t...
asked by 25.10.2017 / 23:57