init angularjs reading