Resolve angular dependency