These are chat archives for filearts/plunker

23rd
Aug 2016
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:11
hi
ramin
@rmros
Aug 23 2016 09:12
hi mr shivendu :)
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:12
i am not able to execute my angular scripts
ramin
@rmros
Aug 23 2016 09:12
in where?
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:12
in plnkr
the same scripts are running fine in jsfiddle
am new to angular, so help me how can i run the scripts on plunker
ramin
@rmros
Aug 23 2016 09:15
okey
plunker has ng-app instead of ng-app='directive' in index.html.
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:15
okz...
ramin
@rmros
Aug 23 2016 09:15
see this example
and see this
or u can use <html ng-app="plunker"> instead of <html>
see this
okey?
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:18
yeah its helpful
if i need to bind some data
using ng-grid
currently am using this
<div ng-app="app">
<div ng-controller="MainCtrl">
<div ui-grid="{ data: myData }" class="grid"></div>
</div>
</div>
and in js am using this

var app = angular.module('app', ['ngTouch', 'ui.grid']);

app.controller('MainCtrl', ['$scope', function ($scope) {

$scope.myData = [{
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 09:23
I currently need to display some data using ng-grid....
I thought of first trying the same using some hardcoded data then will connect to the source API
but the ng-grid is not binding data from the script
Shivendu Srivastava
@shivendu_sri_twitter
Aug 23 2016 10:08
hi