for moran test angularjs