Removed horrible $http.get nesting and refactored into $watches

Change-Id: Ia44f41872b1288a7115c6ae3e68b4a7692819808