Adding the pageResource string for angular controller init