Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Laravel</title>
- <link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
- <style>
- body {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- color: #B0BEC5;
- display: table;
- font-weight: 100;
- font-family: 'Lato';
- }
- .container {
- text-align: center;
- display: table-cell;
- vertical-align: middle;
- }
- .content {
- text-align: center;
- display: inline-block;
- }
- .title {
- font-size: 96px;
- margin-bottom: 40px;
- }
- .quote {
- font-size: 24px;
- }
- </style>
- <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
- <link href='http://fonts.googleapis.com/css?family=Roboto:400,500' rel='stylesheet' type='text/css'>
- <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
- </head>
- <body ng-app="myApp">
- <div class="container" ng-controller="MyCtrl">
- <div class="content">
- <div class="title">Laravel 5</div>
- <div class="quote">{{ Inspiring::quote() }}</div>
- <p ng-repeat="c in cdata">
- @ c.name @
- </p>
- </div>
- </div>
- <script>
- /*
- var commentApp = angular.module('commentApp',['mainCtrl','commentServices'],function($interpolateProvider){
- $interpolateProvider.startSymbol('<%');
- $interpolateProvider.endSymbol('%>');
- });
- */
- var myApp=angular.module("myApp",[]);
- myApp.config(function($interpolateProvider) {
- $interpolateProvider.startSymbol('@');
- $interpolateProvider.endSymbol('@');
- });
- myApp.controller("MyCtrl",['$scope','$http','$window',function($scope,$http){
- $http.get('http://giant9.com/testpost/get').success(function(data){
- $scope.cdata = data;
- console.log(data);
- });
- }]);
- </script>
- {!! Form::open() !!}
- <div class="form-group">
- {!! Form::label('task', 'Task') !!}
- {!! Form::text('task', null, ['class' => 'form-control']) !!}
- </div>
- {!! Form::close() !!}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement