working angular app with internal json object for data