From c8197b44eb0b4d49acda142f4179876732e1c751 Mon Sep 17 00:00:00 2001
From: Matias Niemelä
Date: Thu, 9 May 2013 15:58:34 -0400
Subject: feat(ngdocs): external links to github, plunkr and jsfiddle available
 for code examples
---
 src/bootstrap/bootstrap.js | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
(limited to 'src')
diff --git a/src/bootstrap/bootstrap.js b/src/bootstrap/bootstrap.js
index c9719b0c..91d6590e 100644
--- a/src/bootstrap/bootstrap.js
+++ b/src/bootstrap/bootstrap.js
@@ -48,6 +48,48 @@ directive.dropdownToggle =
     };
   }];
 
+directive.syntax = function() {
+  return {
+    restrict: 'A',
+    link: function(scope, element, attrs) {
+      function makeLink(type, text, link, icon) {
+        return '' + 
+                ' ' + text +
+               '';
+      };
+      var html = '';
+      var nav = angular.element(html);
+      var node = element[0];
+      var par = node.parentNode;
+      par.insertBefore(nav[0], node);
+    }
+  }
+}
 
 directive.tabbable = function() {
   return {
-- 
cgit v1.2.3