create custom layout for angularjs app