minor changes for angular 1.3.0-rc5 upgrade