move to angularjs in demo