AngularJS, Front End Development

React JS vs Angular 2

In this blog we are going to discuss in summary, difference between the two most popular JS (library/framework) i.e Angular 2 and React JS On the very first note, React JS is just a library and Angular 2 is a whole framework (which is still undergoing changes). But we can have a comparison for both. 1. Component: Both React and...

by Vishnu Shekhawat
Tag: Angular 2
24-Jul-2016

Technology

$sce in angular

In my Angular project, I came across a situation where i had to render some html markup, but the tricky thing was, the markup was contained in some angular scope variable. And when outputting it, it just printed out the html markup as basic text. A quick Google search informed me about the directive ng-bind-html and...

by Sakshi Tyagi
Tag: Angular 2
27-Apr-2014

AngularJS, Front End Development

AngularJS: Implementing Routes And Multiple Views

We have already seen the concept of routes and multiple views in my previous blog. Now let's see how to implement it in code. To implement the concept of routing in AngularJS, we need to create modules. Inside a module config, we can define routes. [javascript] File : js/modules.js angular.module('videoModule', []). ...

by raj
Tag: Angular 2
12-Oct-2012