Angularjs stub