moved to angularjs in frontend