angularjs-backed prototype