added support for ngmodeloptions