Added basic angular.js functionality