How to setup a simple application using node.js and MongoDB: Most of your interactions with Yeoman will be through the command line. Run commands in the Terminal app if you’re on Mac, your shell in Linux, or cmder (preferably) / PowerShell / cmd.exe if you are on Windows. Install prerequisites Before installing Yeoman, you will … Continue reading How to setup a simple application using node.js and MongoDB
How can we implement SPA with Angular ngRoute? How to implement routing in Angular? Implementing Angular route is a five step process: – Step 1: – Add the “Angular-route.js” file to your view. <script src=”~/Scripts/angular-route.js”></script> Step 2: – Inject “ngroute” functionality while creating Angular app object. var app = angular.module(“myApp”, [‘ngRoute’]); Step 3: – Configure … Continue reading How can we implement SPA with Angular?
How to implement SPA using angular-UI route? Angular UI route helps to implement SPA concept using the concept of STATES. The main goal of SPA is navigating from one view to other view without reloading the main page. Angular UI route visualizes every view as a STATE. When you want to navigate from one view … Continue reading How to implement SPA using angular-UI route?
Detailed Explanation of AngularJS and How its working? Definition of AngularJS as put by its official documentation is as follows: “AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. Angular’s data binding … Continue reading Detailed Explanation of How angularJS working
Difference between angular-route and angular-ui-router ui-router is a 3rd-party module and is very powerful. It supports everything the normal ngRoute can do as well as many extra functions. Here are some common reason ui-router is chosen over ngRoute: ui-router allows for nested views and multiple named views. This is very useful with larger app where … Continue reading Difference between angular-route and angular-ui-router
Why should I use UI-Router in AngularJS? Multiple views: Most applications can be broken up into regions. At a minimum, applications usually have a header, a main content area, and a footer. Commonly, applications may have an additional sidebar on the left or right side of the page as shown below. In most use cases, … Continue reading Why should I use UI-Router in AngularJS
AngularJS service vs factory – with example, Understanding AngularJS Factory and Service. What is an AngularJS service or factory? What is an AngularJS service or factory? Singleton. Yes! That one word is enough to define AngularJS services. The purpose of AngularJS service / factory function is to generate a single object or function that represents the service to … Continue reading Understanding AngularJS Factory and Service
Bower angular ENOGIT git is not installed or not in the PATH when trying to use windows command line. Turns out, you have to select this setting twice and I have missed the second one. Here’s a few screenshots if any help for anyone: The one I have missed: After reinstalling with the above settings, … Continue reading bower angular ENOGIT git is not installed or not in the PATH
How to run Gulp tasks sequentially one after the other? By default, gulp runs tasks simultaneously, unless they have explicit dependencies. This isn’t very useful for tasks like clean, where you don’t want to depend, but you need them to run before everything else. I wrote the run-sequence plugin specifically to fix this issue with … Continue reading How to run Gulp tasks sequentially one after the other?