it('should support custom route-attr', function() {
        var elm = compileDirective('options-route-attr');
        $location.path('/network');
        scope.$digest();
        expect(elm.find('li:nth-child(1)')).toHaveClass('active');