diff --git a/core/templates/dev/head/pages/forum/Forum.js b/core/templates/dev/head/pages/forum/Forum.js new file mode 100644 index 000000000000..72042b2d7e83 --- /dev/null +++ b/core/templates/dev/head/pages/forum/Forum.js @@ -0,0 +1,23 @@ +// Copyright 2014 The Oppia Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/** + * @fileoverview Data and controllers for the Oppia 'forum' page. + */ + +oppia.controller('Forum', [ + '$scope', function($scope) { + $scope.DEV_MODE = GLOBALS.DEV_MODE; + } +]); diff --git a/core/templates/dev/head/pages/forum/forum.html b/core/templates/dev/head/pages/forum/forum.html index 8c5bc69ae801..639fc7261a60 100644 --- a/core/templates/dev/head/pages/forum/forum.html +++ b/core/templates/dev/head/pages/forum/forum.html @@ -21,12 +21,10 @@