Most voted "angularjs-factorys" questions
9 questions
Sort by count of
-
1
votes1
answer265
viewsView mysql data using Angularjs/codeigniter
I am developing an application in Codeigniter 3 and came across the following problem. I want to import the database table data and display in a php page. In my controller I created the function:…
-
1
votes1
answer60
viewsDoubt in Angularjs! (Factory, Controller, View) Why is 'Identity' not updated in the VIEW?
Guys I’m having a doubt in Angularjs! The source code is in https://plnkr.co/edit/BoIr6nFCa8ST5ekT3DZO In Factory I have a property with the name identity, which is mirrored to the controller and…
javascript angularjs angularjs-services angularjs-factorysasked 8 years, 11 months ago Lucas Boeing Scarduelli 306 -
1
votes1
answer1094
viewsShare object between two controllers in Angularjs
I’m studying AngularJS and I’m trying to make a CRUD simple, however I am not able to have the same object of my listing for my form, that is, at the time you click the edit button go to the form…
javascript java angularjs angularjs-scope angularjs-factorysasked 8 years, 5 months ago Felix Ferreira 13 -
1
votes0
answers58
viewsHow to inject a Factory when creating a unit test with Angularjs?
good afternoon! I am creating a unit test for my controller and the same is giving the following error: Typeerror: Cannot read Property 'saveUser' of Undefined At Scope.UserFormCtrl.$Scope.save I…
-
0
votes1
answer353
viewsAngularjs Factory in another file
Good morning I’m wanting to create a separate file for each Factory that I have to declare in my project, but it’s not working: App.js file var GestaoGastos = angular.module('GestaoGastos',…
-
0
votes2
answers681
viewsError in injection of angular module dependencies
I have the module of my application: angular.module('app', ['app.controllers','app.routes','app.services']); I have my service module: angular.app('app.services', []) .factory('usuarioService',…
angularjs dependency-injection angularjs-services angularjs-factorysasked 8 years, 8 months ago Walter Gandarella 636 -
0
votes1
answer1107
viewsWorking with Factory
I am developing a system for a snack bar, where she will have to register the cities and within the cities the neighborhoods with their due freight, the problem is occurring the first time that…
-
0
votes2
answers184
viewsError: Typeerror: $http.get(...). Success is not a Function
I’m calling an Amazon service and is giving problem, follow code: Controller: app.controller('MainController', ['$scope', 'emails', function($scope, emails) { emails.success(function(data) {…
-
-1
votes1
answer235
viewsHow to pass this variable to the scope?
(function () { angular.module("Hawking").controller('loginController', function ($log, $scope, validateUser) { var dataUser = { email: "[email protected]", senha: "123456" };…