Removed depricated parameters
Updated to the latest angular version