Fixed a bug when angular inject $$haskey