Posts

Showing posts from 2016

Angular.js Interview Questions

           Brush Up with Angular.JS Made a note of important links and interview questions while preparing with Angular.js  1) How Angular bootstraps and different ways of bootstrapping. Bootstrapping is the equivalent of initializing, or starting, your Angular app. There are 2 main ways to do so. The first is automatically bootstrapping by adding ng-app to the an element in your HTML, like so: <html ng-app="myApp"> <body ng-controller="myCtrl"> {{msg}} </body> </html> The second would be to bootstrap from the JavaScript, like so, after having creating your app through  angular.module("myApp", []); var app = angular.module("myApp", []); angular.bootstrap(document, ['myApp']); common controller initialization in both the cases:- var app = angular.module("myApp", []); app.controller('myCtrl', function($scope){ $scope.msg = "Morgan" }); Advanta...

Important Node.js Modules which you gonna use while working as front-end developer

    Most Important Node.js Modules NodeBootstrap  Node app skeleton with best practices sprinkled all over Connect Middleware Nodejitsu Nodeapps  sample apps Nodejitsu Open Source  open-source projects from Nodejitsu Eric Elliott's List Joyent's Catalogue of Node modules BestieJS  - A collection of modules/libraries that promote solid browser/environment support, ES5 precedents, unit testing, and documentation. Express  Web-framework for Node.js Async.js  - Asynchronous (and functional programming) utilities for Node.js and browser Koa.js  - Expressive middleware for node.js using generators, created by the same people as Express.js Step  An async control-flow library that makes stepping through logic easy Grunt  task-based command line build tool for JavaScript projects Gulp  streaming, DSL-based build system. Passport  Powerful authentication middleware for Node.js Connect ...