angularjs with pass 'n play working