matchmedia wrapper for angularjs