I was wondering how can I use $timeout in my controller to call web api server every second? following code is my controller and custom service which I have created for this section. Now I can pull out data but because of being news I want to refresh it every second.I was wondering how can I use $timeout in my co