it('should work with dynamic content', function() {
      var elm = compileDirective('markup-ngRepeat');
      $location.path('/network');
      scope.$digest();
      expect(elm.find('li:nth-child(1)')).toHaveClass('active');