Because of the +I effect of the Alkyl group present. It donates its own electron cloud to the nitrogen group therefore nitrogen has a greater tendency of donating its lone pair of electrons. This thing makes it more basic than ammonia where such a positive inductive effect is absent.