documents module working full with angularjs