Referencing Factory on the Angular Controller

0

Good evening, how do I instantiate Factory on the Controller? I have the following error:

var app = angular.module('App', []);
app.controller('LoginCtrl', function ($scope, $http, LoginFactory) {...

I have the above code

    
asked by anonymous 28.05.2017 / 04:11

0 answers