Added the optional ngmodel.