fix email controller not found and angularjs init