before moving angularjs into single file