ng-include with loading animation and error submiting