Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Canvas = angular.module('canvas');
- Canvas.controller("excelOperation",function($scope,Data,SharedData,$http){
- $scope.tbody=$scope.$parent.shared.previews;
- $scope.$watch('$parent.shared.previews',function(newVal,oldVal){
- console.log("WORKING");
- })
- setInterval(function(){
- console.log($scope.$parent.shared.previews);
- },1000)
- /**
- * Populate table function to populate excel table
- */
- $scope.populateTable=function()
- {
- }
- })
- var deepWatch = true;
- $scope.$watch('$parent.shared.previews', function(newVal, oldVal) {
- console.log("WORKING");
- }, deepWatch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement