'ng-include' directive alow to add HTML from an external file.But the file should be within the same domain.By default AngularJS does not allow cross doing HTML from an external file.
<spanclass="text-primary">This
is the example of "text-primary"</span><br/><spanclass="text-secondary">
This
is the example of "text-secondary"</span><br/><spanclass="text-success">This
is the
example
of "text-success"</span><br/><spanclass="text-danger">This
is the example of "text-danger"</span><br/>
<spanclass="text-warning">This
is the example of "text-warning"</span><br/><spanclass="text-info">
This
is the example of "text-info"</span><br/><spanclass="text-light">This
is the example
of
"text-light"</span><br/><spanclass="text-dark">This
is the example of "text-dark"</span><br/>
<spanclass="text-muted">This
is the example of "text-muted"</span><br/><spanclass="text-white">
This
is the example of "text-white"</span>
</body>
</html>
Output
This is the example of "text-primary"
This is the example of "text-secondary" This is the
example of "text-success" This is the example of "text-danger" This is the example of "text-warning"
This is the example of "text-info" This is the example
of "text-light" This is the example of "text-dark" This is the example of "text-muted"
This is the example of "text-white"
For Background coloring Bootstrap uses the following class
<spanclass="bg-primary">This
is the example of "bg-primary"</span><br/>
<spanclass="bg-secondary">This
is the example of "bg-secondary"</span><br/>
<spanclass="bg-success">This
is the example of "bg-success"</span><br/>
<spanclass="bg-danger">This
is the example of "bg-danger"</span><br/>
<spanclass="bg-white">This
is the example of "bg-white"</span><br/>
<spanclass="bg-dark">This
is the example of "bg-dark"</span><br/>
<spanclass="bg-light">This
is the example of "bg-light"</span><br/>
<spanclass="bg-info">This
is the example of "bg-info"</span><br/>
<spanclass="bg-warning">This
is the example of "bg-warning"</span><br/>
</body>
</html>
Output :
This is the example of "bg-primary" This is the example of "bg-secondary" This is the example of "bg-success" This is the example of "bg-danger" This is the example of "bg-white" This is the example of "bg-dark" This is the example of "bg-light" This is the example of "bg-info" This is the example of "bg-warning"
For Gradient coloring Bootstrap uses the following class