Some basic error handling was required.
Also fixed the bug - without authentication, $http request was going
and trying to fetch nodes and was failing at that point.
Started working on the app using the FL360 installation now.
Will be working on fetching content properly, then look at local DB
and then other functionalities.