In this AngularJS tutorial, we will learn how we can add lazy loading to our Angular application.
11 Jan 2016 In this article I will tell you about a promise in AngularJS. Firstly, I added a HTML page which will be used to call the controller, and show the I worked on the Angular part and for this I created a separate JavaScript file. 6 Jul 2016 Lazy load modules and controllers in AngularJS In this AngularJS tutorial, we will learn how we can add lazy loading to our Angular application. It return a promise, and uses resolve property to make sure that files or var UploadController = function ($scope, fileReader) { console.log(fileReader) $scope. readAsDataUrl($scope.file, $scope) .then(function(result) { $scope. data-semver="1.0.8"> readAsDataURL(file); return deferred.promise; }; return { readAsDataUrl: 5 Nov 2016 NuGet: PM> Install-Package angular-file-upload (thanks to Georgios