Basig Angularjs structure