How to setup a simple application using node.js and MongoDB

Published on

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?

Published on

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?

Detailed Explanation of How angularJS working

Published on

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

Published on

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

Understanding AngularJS Factory and Service

Published on

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