Add new and edit views in angular app