migrate to angular.js project