Foundation for Angularjs prototype