fix for non working object src in angularjs. json is yet to be ported outside of the .js file