refactored loadText
Merge remote-tracking branch 'origin/angularjsImplementation' into angularjsImplementation