Suraj || Changed sync with server icon.
Suraj || Changed local-store global object to angular service.
Suraj || removed extra lines of code.
Suraj || Using angular promise instead of promise library.
Suraj || Removed promise library from app, now using angularjs $q promise.