These are chat archives for filearts/plunker

31st
Jan 2017
vikasparth
@vikasparth
Jan 31 2017 00:45
Thanks oknaru i tried same but now it says [ng:areq] Argument 'MainController' is not a function, got undefined

below is my html file code <!DOCTYPE html>

<html ng-app>

<head>
<script src="script.js"></script>
<script src="https://code.angularjs.org/1.4.8/angular.js"></script>
<link rel="stylesheet" href="style.css" />
</head>

<body ng-controller="MainController">
<h1>{{message}}</h1>
<div>
FirstName: {{person.firstName}}
</div>
<div>
Lastname: {{person.lastName}}
</div>
</body>

</html>

and below is my js file containing maincontroller

var MainController = function ($scope){

$scope.message = "HareKrishna";
var person = {
firstName: "Vikas",
lastName: "Sharma"
};
$scope.person = person;
}

Babusridar
@Babusridar_twitter
Jan 31 2017 08:09
how to onload function with from date and to date in datatable..
plz help me ..
Kondal
@kondal08123204_twitter
Jan 31 2017 09:54

<!DOCTYPE html>

<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>AngularJS</title>
<!-- Bootstrap core CSS -->
<link href="datas/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.css">
<!-- custom.CSS -->
<link rel="stylesheet" type="text/css" href="datas/css/card.css">
<!-- <link href="datas/css/style.css" rel="stylesheet"> -->
<!-- AngularJS -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular.min.js"></script>
<script src="datas/js/card.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-animate.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-aria.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-messages.min.js"></script>
<!-- Angular Material Library -->
<script src="http://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.js"></script>
<!-- AngularIcons Link -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>

<body ng-app="cardDemo1">
<div ng-controller="AppCtrl" ng-cloak>
<md-content class="md-padding" layout-xs="column" layout="row">
<div flex-xs flex-gt-xs="50" layout="column">
<p><a href="#/chart">chart</a></p>
<a href="#gallary">gallary</a>
<a href="#datepicker">datepicker </a>
<md-card md-theme="{{ showDarkTheme ? 'dark-grey' : 'default' }}" md-theme-watch>
<md-card-title>
<md-card-title-text>
<span class="md-headline">Card with image</span>
<span class="md-subhead">Large</span>
</md-card-title-text>
<md-card-title-media>
<div class="md-media-lg card-media">
<div class="uno-images">
<img src="datas/images/card.png" class="img-responsive" alt="card">
</div>
</div>
</md-card-title-media>
</md-card-title>
<md-card-actions layout="row" layout-align="end center">
<md-button>Action 1</md-button>
<md-button>Action 2</md-button>
</md-card-actions>
</md-card>
<!-- Me -->
<!-- <md-card md-theme="{{showDarkTheme? 'dark-orange:default'}}" md-theme-watch> <md-card-tittle> <md-card-tittle-text> <span class="md-headline"><h3>Uno Career</h3></span> <span class="md-subhead">Home</span> </md-card-tittle-text> <md-card-content layout="row" layout-align="space-between"> <div class="md-media-md card-media"> <div class="md-media-sm card-media"> <div class="uno-images"> <img src="datas/images/card.png" class="img-responsive" alt="card"> </div> </div> </div> </md-card-content> </md-card-tittle> <md-card-actions layout="row" layout-align="end center"> <md-button>Action 1</md-button> <md-button>Action 2</md-button> </md-card-actions> </md-card> -->

angular.module('cardDemo1', ['ngMaterial'])

.controller('AppCtrl', function($scope) {
$scope.imagePath = 'img/washedout.png';
})
.config(function($mdThemingProvider) {
$mdThemingProvider.theme('dark-grey').backgroundPalette('grey').dark();
$mdThemingProvider.theme('dark-orange').backgroundPalette('orange').dark();
$mdThemingProvider.theme('dark-purple').backgroundPalette('deep-purple').dark();
$mdThemingProvider.theme('dark-blue').backgroundPalette('blue').dark();
});

can anyone runs this code
??????
Maxxxel
@Maxxxel
Jan 31 2017 13:34
Hi there
anyone experienced with ngTable there?