Fix AngularJS dependencies stamp creation

Same thing as bb115f141f3b4a5.