Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.controller('MainController',
- function MainController($scope) {
- $scope.user = "Hey Welcome";
- $scope.open = function(template_path){
- $.fancybox({"href":template_path})
- }
- }
- )
- <div class="pop-contnr">
- <h2>ADD</h2>
- <table>
- <thead>
- <tr>
- <th align=center>{{user}}</th>
- </tr>
- </thead>
- </table>
- </div>
- $scope.openPage = function(template_path) {
- $.fancybox({
- 'type': 'iframe',
- 'href': template_path
- });
- }
- $scope.open = function(template_path){
- $.fancybox({"href":template_path})
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement