Initializing angular app on index home page