@teknofreek wrote:
in ionic 1, we wrote factories in app.js file, something like this:
.factory('AuthenticationService', ['Base64', '$http', '$rootScope', '$timeout', '$window', '$state','$ionicHistory',
function(Base64, $http, $rootScope, $timeout, $window, $state, $ionicHistory) {
//content here
});how to write this in ionic 2?
Posts: 1
Participants: 1