$provide misused into $provider

maybe this should be corrected I think