ngmedia

Angular directive to remove elements based on media query match
1 person uses it
Author: 2837910?v=3 ah450

Angular media

Remove and include elements with media queries!

Install

bower install --save ngmedia

Usage

angular.module('myApp', ['angularMedia'])

<div data-if-media='screen and (min-width: 600px)'></div>

Element is removed if media query is false.

Browser support

uses window.matchMedia compatibility

comments powered by Disqus
This page was last updated over 2 years ago.