An injection means one-to-one mapping. Each element in $A$ must go to a distinct element in $B$.
So number of injections from $A$ to $B$ is the number of ways to assign $m$ distinct elements to $n$ available spots (without repetition):
This is permutation: $^nP_m = \frac{n!}{(n - m)!}$