Created
November 27, 2018 20:29
-
-
Save kampana/2a3c40588b00ef5e920f595ce0114ac1 to your computer and use it in GitHub Desktop.
phone-list.controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular. | |
module('phoneList'). | |
controller('phoneList', ['Phone', 'newService', | |
function(Phone, newService) { | |
this.phones = Phone.query(); | |
this.orderProp = 'age'; | |
this.searchText = newService.returnSearchText(); | |
} | |
] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment