Got tick event to work
Working with bug
Bug fixed using $q service to queue up all the request