continued migrate to angularjs