adding login.js and script call for angular.js