config page structure with angularjs