Skip to content

Instantly share code, notes, and snippets.

Watcharamet Srinethirothai platoosom

Block or report user

Report or block platoosom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:bd00ed2d289627d678088eb4dbf9425a
No such file or directory in C:\xampp\htdocs\dbsocial\index.php on line 2
View gist:9d4fee1d4b1a24e7ec0c9728258f23ee
Warning: include(C:/xampp/htdocs/inc/config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbsocial\index.php on line 2
View gist:bf753a97bb7f7802edb4ceff25f1d338
<div ng-controller="newYearResolutionListWidget">
<ul>
<li ng-repeat="list in lists">
{{ list.title }}
</li>
</ul>
</div>
View gist:cee713c35ac02397d0297afe0ed25c1f
<script>
var application = angular.module('application', [])
application.controller('newYearResolutionListWidget', function ($scope) {
$scope.lists = [
{id: 1, title: 'ดื่มน้ำวันละ 3 ลิตร'},
{id: 2, title: 'ซ้อมกีต้าร์วันละเพลง'},
{id: 3, title: 'ฝึกภาษาอังกฤษวันละคลิป'}
]
})
View include-angular
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
View gist:58f34051b7153cb25b222da347e26dd9
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var application = angular.module('application', [])
application.controller('newYearResolutionListWidget', function ($scope) {
$scope.lists = [
{id: 1, title: 'ดื่มน้ำวันละ 3 ลิตร'},
View gist:868450604373e34a52504169163db32a
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var application = angular.module('application', [])
application.controller('profileWidget', function ($scope) {
$scope.name = 'Watcharamet S.'
$scope.age = 41
$scope.bio = 'Always smile'
View gist:f390ba848ae2a6ea25fe6b1fd4907af0
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var application = angular.module('application', [])
application.controller('profileWidget', function ($scope) {
$scope.name = 'Watcharamet S.'
$scope.age = 41
$scope.bio = 'Always smile'
View gist:8095cefb0985fe39f204f9f9020708cc
<script>
var application = angular.module('application', [])
application.controller('greetingController', function ($scope) {
$scope.greeting = 'Hello World'
})
</script>
You can’t perform that action at this time.