#2 Using angular.js