Reduced type severity of templateProvider in IState interface

templateProvider can be an annotated function (any[]) like controllerProvider, so any is a more appropriate typing.