Adding alerts to the layout
Converting apps ng factories to services since we are not instantiating the instances